import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

const One = () => import("@/pages/One");
const Two = () => import("@/pages/Two");
export default new VueRouter({
    mode: "history",
    router: [
        {
            path: "/one",
            component: One,
        },
        {
            path: "/two",
            component: Two,
        },
    ],
});